﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Types;
using Sio.Mdm.Server;
using Sio.Mdm.Connector;

namespace Sio.Mdm.BF.Ldap
{
    public interface ILdapService : IService
    {
        Result Test(Session session);
        Result GetLdapADGroups(int streznikId, string baseDN, out List<ldapObject> groups, Session session);
        Result SaveLdapADGroup(int streznikId, string baseDN, string groupDN, Session session);
        Result TestUceciSync(int letoId, int razredId, int razred, Session session);
        Result TestConnection(int streznikId, Session session);
        Result UserRequestSync(int razredId, Session session);
        Result UserRequestSync(int razredId, List<int> selected, Session session);
        Result UserRequestSyncPravilo(int praviloId, Session session);
        Result UserRequestDelete(int razredId, Session session);
        Result UserRequestDelete(int razredId, List<int> selected, Session session);
        Result UserRequestDeletePravilo(int praviloId, Session session);
    }
}
